<?php 
session_start();
$_SESSION["lastaction"]=0;
$idpresunum="";
include 'header.php';
?>

<div id="contenido">
<form target=_blank method="post" action="include/saveinfo.php" enctype="multipart/form-data">
<p>N&uacute;mero Presupuesto:<input type="text" name="numero" value="<?php
include 'numero_presu.php'; ?>" />
    <input type="text" disabled name="fecha" value="<?php echo date("d-m-Y");?>" /></p>
<?php include 'form_cliente.php'?>

<div id="hardware">
<h3>- HARDWARE -</h3>
<input type="button" name="addrow" value="A&ntilde;adir Hardware"
	onclick="addItem();" />
<table id="items">
	<tr>
		<th>Tipo</th>
		<th>Modelo</th>
		<th>Cantidad</th>
		<th>Importe</th>
		<th>Total</th>
		<th>Borrar</th>
	</tr>
</table>
<p>Total Hardware: <input type="text" id="hdwtotal" name="hdwtotal"
	value="0" readonly />&#8364;</p>
</div>
<div id="servicios">
<h3>- SERVICIOS -</h3>
<input type="button" name="addrow" value="A&ntilde;adir Servicio"
	onclick="addItemSrv();" />
<table id="sitems">
	<tr>
		<th>Tipo</th>
		<th>Cantidad</th>
		<th>Importe</th>
		<th>Total</th>
		<th>Borrar</th>
	</tr>
</table>
<p>Total Servicios: <input type="text" id="srvtotal" name="srvtotal"
	value="0" readonly />&#8364;</p>
</div>
<?php include 'iva_base_form.php'?> <input type="submit" value="Generar" />
<input type="hidden" id="sinid" name="oculto" value="yes" />
<input type="hidden" id="sinid" name="estado" value="0" />
</form>
</div>
<?php include 'footer.php'?>
